package com.atguigu.pojo;

public class RedisServiceConfig {
    String redisServiceConfigId;
    String serverId;
    String serviceId;
    String port;
    String password;
    String maxMemory;
    String masterNode;

    public RedisServiceConfig() {
    }

    public RedisServiceConfig(String redisServiceConfigId, String serverId, String serviceId, String port, String password, String maxMemory, String masterNode) {
        this.redisServiceConfigId = redisServiceConfigId;
        this.serverId = serverId;
        this.serviceId = serviceId;
        this.port = port;
        this.password = password;
        this.maxMemory = maxMemory;
        this.masterNode = masterNode;
    }

    public String getRedisServiceConfigId() {
        return redisServiceConfigId;
    }

    public void setRedisServiceConfigId(String redisServiceConfigId) {
        this.redisServiceConfigId = redisServiceConfigId;
    }

    public String getServerId() {
        return serverId;
    }

    public void setServerId(String serverId) {
        this.serverId = serverId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getMaxMemory() {
        return maxMemory;
    }

    public void setMaxMemory(String maxMemory) {
        this.maxMemory = maxMemory;
    }

    public String getMasterNode() {
        return masterNode;
    }

    public void setMasterNode(String masterNode) {
        this.masterNode = masterNode;
    }

    @Override
    public String toString() {
        return "RedisServiceConfig{" +
                "redisServiceConfigId='" + redisServiceConfigId + '\'' +
                ", serverId='" + serverId + '\'' +
                ", serviceId='" + serviceId + '\'' +
                ", port='" + port + '\'' +
                ", password='" + password + '\'' +
                ", maxMemory='" + maxMemory + '\'' +
                ", masterNode='" + masterNode + '\'' +
                '}';
    }
}
